$OpenBSD: patch-Src_mail_c,v 1.2 2014/04/14 20:53:58 naddy Exp $
--- Src/mail.c.orig	Sun Nov  9 12:12:04 2003
+++ Src/mail.c	Mon Apr 14 21:25:49 2014
@@ -152,7 +152,7 @@ int sendmail(BUFFER *message, char *from, BUFFER *addr
 
     /* Step 2:  Stat the file.  Wait for ENOENT as a response. */
     for (count = 0;; count++) {
-      snprintf(path, PATHMAX, "%s%cout.%lu.%u_%lu.%s,S=%lu.txt",
+      snprintf(path, PATHMAX, "%s%cout.%u.%u_%lu.%s,S=%lu.txt",
 	POOLDIR, DIRSEP, time(NULL),
 #ifdef POSIX
 	getpid(),
